#define  _CRT_SECURE_NO_WARNINGS
#include "Stack.h"

void Stack_test()
{
	Stack s;
	 STInit(&s);

	 STPush(&s, 1);
	 STPush(&s, 2);
	 STPush(&s, 3);
	 STPush(&s, 4);
	 STPush(&s, 5);
	 print(&s);

	 STPop(&s);
	 print(&s);
	
	 STDataType ret =  STTop(&s);
	 printf("%d\n", ret);
	










	 //STDestroy(& s);
}

int main()
{
	Stack_test();
	return 0;
}